package com.hwd.gmall.list.feign.fallback;

import com.hwd.gmall.list.feign.ListFeignClient;
import org.springframework.stereotype.Component;

/**
 * @author 黄伟东/Victor
 * @date 2022/4/27 19:45
 */
@Component
public class ListFeignClientImpl implements ListFeignClient {
    /**
     * 向es中保存数据，商品上架时调用
     *
     * @param skuId 商品id
     * @return boolean
     */
    @Override
    public boolean saveDataIntoEs(Long skuId) {
        return false;
    }

    /**
     * 在es中删除数据，商品下架时调用
     *
     * @param skuId 商品id
     * @return boolean
     */
    @Override
    public boolean removeDataFromEs(Long skuId) {
        return false;
    }
}
